package com.example.entity;


import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Video {
    @NotNull
    private Integer id;  //id
    @NotEmpty
    private String video;  //视频
    @NotEmpty
    private String title;  //视频标题
    @NotEmpty
    private String url;  //视频链接
    @NotEmpty
    private String image;  //视频图片
    @NotEmpty
    private String introduction;  //视频简介
    @NotEmpty
    private String time;  //发布时间
    @NotEmpty
    private String content;  //视频内容
    @NotEmpty
    private String tag;  //视频标签
}
